package saeildamil.ch18.thead;

public class DigitThreadEx extends Thread {

	@Override
	public void run() {
		for(int i=0; i<10; i++){
			System.out.print(i + " ");
			try {
				Thread.sleep(2000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}
	
}
